<?php

class Model_Table_Items extends Zend_Db_Table_Abstract {
	
	protected $_name = 'items';
	protected $_primary = 'item_id';
	
	public function getPrimaryKey() {
		if (is_array ( $this->_primary )) {
			return $this->_primary [1];
		} else {
			return $this->_primary;
		}
	}
	
	public function getTableName() {
		if (is_array ( $this->_name )) {
			return $this->_name [1];
		} else {
			return $this->_name;
		}
	}

}